﻿namespace EPiSugar.Markup
{
    public static class TagExtensions
    {
        public static Tag Attr(this Tag tag, string key, object value)
        {
            return tag.Attr(key, value != null ? value.ToString() : null);
        }
    }
}